﻿Public Class NhanVienBUS
    Private nvDAO As NhanVienDAO

    Public Sub New()
        nvDAO = New NhanVienDAO
    End Sub
    Public Function CapNhat(ByVal nv As NhanVienDTO, ByVal f As Boolean) As Boolean
        Return nvDAO.CapNhat(nv, f)
    End Function
    Public Function XoaNhanVien(ByVal emp As NhanVienDTO)
        Return nvDAO.XoaNhanVien(emp)
    End Function
    Public Function GetData() As List(Of NhanVienDTO)
        Return nvDAO.GetData()
    End Function
End Class
